package cn.ruanyun.backInterface.modules.business.sensitiveWords.pojo;

import cn.ruanyun.backInterface.base.RuanyunBaseEntity;
import cn.ruanyun.backInterface.common.enums.SensitivityTypeEnum;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author tqr
 */
@Data
@Entity
@Table(name = "t_sensitive_words")
@TableName("t_sensitive_words")
@ApiModel(value = "敏感词")
public class SensitiveWord extends RuanyunBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 类型 1 活动，2全部
     */
    @Column(length = 32)
   private SensitivityTypeEnum typeEnum;
    /**
     * 词汇
     */
    @Column(length = 32)
    private String content;
}